<?php

class Calendar extends DataObject {

    static $db = array(
        'Title' => 'Varchar(255)',
        'Feed' => 'Varchar(255)',
    );

    static $has_one = array(
        'CalendarPage' => 'CalendarPage',
    );

    public function getCMSFields_forPopup(){
        return new FieldSet(
            new TextField('Title'),
            new TextField('Feed')
        );
    }

}